import Layout from '@/layout/admin/index.vue'
const manage = [
  {
    path: '/admin/manage',
    name: '管理',
    component: Layout,
    redirect: '/admin/manage/usermanage',
    children: [
      {
        path: '/admin/manage/usermanage',
        name: '用户管理',
        component: () => import('@/views/adminpage/userman/UserMan.vue'),
        meta: { title: '编程智航-用户管理' }
      },
      {
        path: '/admin/manage/rolemanage',
        name: '角色管理',
        component: () => import('@/views/adminpage/roleman/RoleMan.vue'),
        meta: { title: '编程智航-角色管理' }
      }
    ]
  }
]

export default manage
